html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
    Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.text-right {
  text-align: right;
}

.container {
  padding: 0 2rem;
}

.main {
  min-height: 100vh;
  padding: 4rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer {
  display: flex;
  flex: 1;
  padding: 2rem 0;
  border-top: 1px solid #eaeaea;
  justify-content: center;
  align-items: center;
}

.footer a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.error-field {
  color: red;
}

/* style for paging */
.pagination-container {
  width: 100%;
  height: 36.5px;
  list-style: none;
  display: flex;
  justify-content: flex-end;
}

.pagination-container .previous-btn a {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  border-right: none;
  padding-left: 14px;
}

.pagination-container .next-btn a {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  border-left: none;
  padding-right: 14px;
}

.pagination-container a {
  font-size: 14px;
  display: block;
  padding: 6px 12px;
  border: 1px solid rgb(188, 183, 183);
  color: #000;
  height: 100%;
}

.pagination-container a:hover {
  color: white !important;
  background-color: black;
}

.pagination-active {
  pointer-events: none;
}

.pagination-active a {
  color: #fff !important;
  font-weight: bold;
  background-color: #000;
}

.pagination-disabled {
  pointer-events: none;
}

.pagination-disabled a {
  color: rgb(91, 91, 91) !important;
  background-color: white;
}

.pagination-disabled a:hover {
  color: rgb(91, 91, 91) !important;
  background-color: #fff;
}

/* styles for search */
.search-container {
  width: 30%;
}

.search {
  position: relative;
  box-shadow: 0 0 40px rgba(51, 51, 51, 0.1);
}

.search input {
  height: 50px;
  text-indent: 25px;
  border: 2px solid #d6d4d4;
}

.search .fa-search {
  position: absolute;
  top: 20px;
  left: 16px;
}

.search button {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 40px;
  width: 70px;
  background: blue;
  border-color: aqua;
}

.wrapper {
  width: 100%;
}

[hidden] {
  display: none !important;
}

#sidebar {
  min-width: 300px;
  max-width: 300px;
  background: #1d1919;
  color: #fff;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
#sidebar.active {
  margin-left: -300px;
}
#sidebar .logo {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
#sidebar .logo span {
  display: block;
}
#sidebar ul.components {
  padding: 0;
}
#sidebar ul li {
  font-size: 16px;
}
#sidebar ul li > ul {
  margin-left: 10px;
}
#sidebar ul li > ul li {
  font-size: 14px;
}
#sidebar ul li a {
  padding: 10px 0;
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#sidebar ul li a:hover {
  color: #f8b739;
}
#sidebar ul li.active > a {
  background: transparent;
  color: #f8b739;
}
@media (max-width: 991.98px) {
  #sidebar {
    margin-left: -300px;
  }
  #sidebar.active {
    margin-left: 0;
  }
}

a[data-toggle='collapse'] {
  position: relative;
}

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (max-width: 991.98px) {
  #sidebarCollapse span {
    display: none;
  }
}

#content {
  width: 100%;
  padding: 0;
  min-height: 100vh;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.btn.btn-primary {
  background: #f8b739;
  border-color: #f8b739;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #f8b739 !important;
  border-color: #f8b739 !important;
}

.label {
  width: 200px;
  padding: 5px;
  border-radius: 5px;
  color: black;
}

.autocomplete-container {
  position: relative;
}
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background-color: white;
  z-index: 1000;
}
.autocomplete-item {
  padding: 8px;
  cursor: pointer;
}
.autocomplete-item:hover {
  background-color: #eee;
}
.selected-options {
  margin-top: 10px;
}
.selected-item {
  display: inline-block;
  margin: 5px;
  padding: 5px 10px;
  background-color: #e0e0e0;
  border-radius: 20px;
}
.selected-item button {
  background: none;
  border: none;
  margin-left: 5px;
  cursor: pointer;
}
